Skip to content

feat(ohos): rebuild privacy consent and feedback center - #182

Merged
SWangHash merged 1 commit into
SWangHash:mainfrom
Peanut-Puff:codex/feedback-privacy-ohos
Aug 5, 2026
Merged

feat(ohos): rebuild privacy consent and feedback center#182
SWangHash merged 1 commit into
SWangHash:mainfrom
Peanut-Puff:codex/feedback-privacy-ohos

Conversation

@Peanut-Puff

@Peanut-Puff Peanut-Puff commented Aug 4, 2026

Copy link
Copy Markdown

概要

  • 重做 OpenHarmony 隐私同意生命周期与关于页策略管理,隐私仅约束数据收集,不阻止 AI、Remote 和更新能力。
  • 增加应用内匿名反馈创建、Inbox 分页、会话历史、ACK、回复和两阶段同意流程。
  • 将可重建的 Inbox/消息缓存移出 AssetStore,安全存储仅保留身份凭据和 capability。
  • 完善结构化错误透传、Mock 服务、响应式布局、i18n、Esc 顶层弹窗行为及匿名 identity 配置副本。

真机问题修复

  • 兼容服务端回复成功后返回 submitted,避免消息已经追加却显示 response_invalid
  • 自己追加的消息不再被误判为管理员新回复;安全清理历史误报,同时保留真正管理员消息的未读语义。

验证

  • cargo test -p bitfun-services-integrations --features feedback feedback::service::tests:: --lib
  • pnpm run type-check:web
  • Feedback Inbox、Conversation Contract、Feedback API 聚焦 Vitest:18 passed
  • OpenHarmony aarch64 Debug 原生库与产品 HAP 构建成功
  • 产品 HAP 已在 HUAWEI MateBook Neo 真机完成覆盖安装和启动检查

已知环境限制

  • 宿主 cargo check -p bitfun-desktop 仍受当前主线 page-function-runtime 无法解析 rquickjs 的既有问题阻塞;OpenHarmony 目标原生构建已成功。
  • 未包含 docs/ 需求资料、本机签名配置、路径或其他无关工作区修改。

@Peanut-Puff
Peanut-Puff force-pushed the codex/feedback-privacy-ohos branch from af5b2c0 to faa92de Compare August 5, 2026 01:01
@Peanut-Puff
Peanut-Puff force-pushed the codex/feedback-privacy-ohos branch from faa92de to a82efbd Compare August 5, 2026 01:09
@SWangHash
SWangHash merged commit aee110b into SWangHash:main Aug 5, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants